.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /*设置p元素最大4行，父元素需填写宽度才明显*/
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-all;
}

.text-ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /*设置p元素最大4行，父元素需填写宽度才明显*/
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-all;
}